/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mylibrary;

/**
 *
 * @author nafeez
 */
public class Message {

    private Object data;

    public Message(Object data) {
        this.data = data;
    }

    public Object getData() {
        return data;
    }

    public void printData() {
        System.out.println(data);
    }
}
